#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Creaet Time    : 2021/10/18 22:18
# @File           : crud.py
# @IDE            : PyCharm
# @desc           : 数据库 增删改查操作

# sqlalchemy 查询操作：https://segmentfault.com/a/1190000016767008

from sqlalchemy.ext.asyncio import AsyncSession
from . import models, schemas
from core.crud import DalBase


class VadminAuthUserDal(DalBase):

    def __init__(self, db: AsyncSession):
        super(VadminAuthUserDal, self).__init__(db, models.VadminAuthUser, schemas.VadminAuthUserOut)
